var verify_equal_club_but_not_equal_item_status = JSON.parse('{"CODE":0, "ACTION":"","LEVEL":"T1", "MSG":"","DATA":"","SCRIPTNAME":"verify_equal_club_but_not_equal_item_status"}');
var request_sku_list_obj = JSON.parse(request_sku_list);
var equal_club_but_not_equal_item_status_flag = false;
if (!isNull(item_attributes)) {
    var relationItems = item_attributes.get('relationItems');
    var relationItemList = []
    if (!isNull(relationItems)) {
        relationItemList = relationItems.split(',')
    }

    relationItemList.forEach(function (relationItem) {
        if (!equal_club_but_not_equal_item_status_flag) {
            request_sku_list_obj.forEach(function (sku) {
                    if (!equal_club_but_not_equal_item_status_flag && sku.item_nbr == relationItem && !isNull(sku.item_status) && item_status != sku.item_status) {
                        sku.item_nbr = item_nbr;
                        if (determineInterSectionStore(sku, id, item_nbr, trait_nbr, store_id, trait_store, store_type, false, store_jd)) {
                            equal_club_but_not_equal_item_status_flag = true;
                        }
                    }
                }
            )
        }
    })
}

if (equal_club_but_not_equal_item_status_flag) {
    verify_equal_club_but_not_equal_item_status.CODE = 2;
    verify_equal_club_but_not_equal_item_status.ACTION = 'error';
    verify_equal_club_but_not_equal_item_status.MSG = '存在同门店的一品多号状态不一致';
}
JSON.stringify(verify_equal_club_but_not_equal_item_status);